package com.model;

import java.util.List;

public class User {

	private String firstName;
	private String lastName;
	private int age;
	private String userName;
	private String password;
	private List<Guess> guessList;
    private boolean active;

    public void setActive(boolean active){

        this.active = active;
    }

    public boolean isActive(){

        return active;
    }
    

	public void setAge(int age) {
		this.age = age;
	}

	public int getAge() {
		return age;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserName() {
		return userName;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPassword() {
		return password;
	}

	public List<Guess> getGuessList() {
		return guessList;
	}

	public void setGuessList(List<Guess> guessList) {
		this.guessList = guessList;
	}

	@Override
	public String toString() {
		return "User Details" + "\n" + "---------------" + "\n" + "First Name :\t"
				+ firstName + "\n" + "Last Name : \t" + lastName + "\n" + "Age : \t\t"
				+ age + "\n" + "User Name : \t" + userName + "\n" + "Password : \t"
				+ password + "\n\n" + "Guess Details : \t"+"\n" +"--------------"+ "\n" + guessList;
	}

}
